<#include "/com/uikoo9/util/jfinal/view/common/inc.html"/>

<form class="form-horizontal" role="form" id="form${(id)!}" >
    <input type="hidden" name="row.id" value="${(row.id)!}"/>
    <input type="hidden" name="row.y_comment_srctable" value="${(y_comment_srctable)!}"/>
    <input type="hidden" name="row.y_comment_srcid" value="${(id)!}"/>
    <input type="text" class="form-control" style="width: 120px;float: left;" name='row.y_comment_content' value='${(row.y_comment_content)!}'>
    <@bsbutton id="sortbtn${(id)!}" size='md' icon='send'></@bsbutton>
<script type="text/javascript">
    $(function(){
        $("#sortbtn${(id)!}").kq_bind("click",function(){
            $.savey("comment", $.collectObj("#form${(id)!}"));
        },{title:"go"});
    });
</script>
</form>
<#list listcomment as item>
    <blockquote style="margin-left:40px;">
        <p>${item.y_comment_content}</p>
        <footer>by <strong>${item.cuser_name}</strong>，于<strong>${item.cdate}</strong></footer>
    </blockquote>
</#list>